package face.pay.entity;


import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class UserBankInfo {
    private Integer id;

    private Integer oemId;
    //用户id

    private Integer userId;
    //开户人名
    @NotEmpty
    private String accountName;
    //开户银行账号
    @NotEmpty
    private String cardNo;
    //银行名称(中文简称)
    @NotEmpty
    private String bankCode;
    //开户省份
    @NotEmpty
    private String provice;
    //开户市
    @NotEmpty
    private String city;
    private String createdTime;
    private Integer createdBy;
    private String updatedTime;
    private Integer updatedBy;

    public UserBankInfo() {
    }

    public UserBankInfo(Integer oemId, Integer userId) {
        this.oemId = oemId;
        this.userId = userId;
    }
}
